package com.ojoin.trade.supplyloan_core.web.domain;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ojoin.trade.common.utils.BeanMapUtils;
import com.ojoin.trade.common.web.domain.IDentifiable;

@JsonIgnoreProperties(ignoreUnknown = true)
public class TbSlPlatformUserWithdrawVO implements IDentifiable{
    private Integer id;

    //需要绑定支付宝 (1 需要, 0 不需要)
    private String bindAlipay;
    
    private Integer idOfTbMerchantUser;

    private String mhtname;
    
    private String mobile;
    
    private String platformName;

    private String platformCnname;
    
    private String loginUrl;
    
    private String username;

    private String discount;

    private String rate;

    private String fee;

    private String maxAmount;
    
    private String loanPeriod;
    
    private String creditcheckCertificate;
    
    private Integer idOfFinaceaccount;
    
    private long todayUnsettleInstoreorder = 0; //当日未结算入库单金额

    private long todayUnenterinRefundorder = 0;	//当日未入账退货单金额

    private long todayUnpaySettleorder = 0;	//当日未付款结算单金额
    
    private long todayPaySettleorder = 0; //当日已付款结算单金额
    
    private long totalAmount = 0; //应收账款金额合计
    
    private String totalNotPaybackAmount; //未还本金
    
    private String totalNotPaybackRateAndFee; //未还利息及手续费
    
    private String totalApplycreditAmount; //已提现额（包括申请中和申请成功的）

    private String totalFirstTrialCheckAmount;//初审通过的限额
    
    private long availableCredit = 0;//可提额度
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rowUpdateTime;

    private Date rowCreateTime;

    private String enableFlag;

    public String getTotalFirstTrialCheckAmount() {
        return totalFirstTrialCheckAmount;
    }

    public void setTotalFirstTrialCheckAmount(String totalFirstTrialCheckAmount) {
        this.totalFirstTrialCheckAmount = totalFirstTrialCheckAmount;
    }

    public String getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(String enableFlag) {
        this.enableFlag = enableFlag;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIdOfTbMerchantUser() {
        return idOfTbMerchantUser;
    }

    public void setIdOfTbMerchantUser(Integer idOfTbMerchantUser) {
        this.idOfTbMerchantUser = idOfTbMerchantUser;
    }

    
    public String getMhtname() {
		return mhtname;
	}

	public void setMhtname(String mhtname) {
		this.mhtname = mhtname;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPlatformCnname() {
        return platformCnname;
    }

    public void setPlatformCnname(String platformCnname) {
        this.platformCnname = platformCnname == null ? null : platformCnname.trim();
    }

    public String getPlatformName() {
        return platformName;
    }

    public void setPlatformName(String platformName) {
        this.platformName = platformName == null ? null : platformName.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }
    
	public String getLoginUrl() {
		return loginUrl;
	}

	public void setLoginUrl(String loginUrl) {
		this.loginUrl = loginUrl;
	}

	public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount == null ? null : discount.trim();
    }

    public String getRate() {
        return rate;
    }

    public void setRate(String rate) {
        this.rate = rate == null ? null : rate.trim();
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee == null ? null : fee.trim();
    }

    public String getMaxAmount() {
        return maxAmount;
    }

    public void setMaxAmount(String maxAmount) {
        this.maxAmount = maxAmount == null ? null : maxAmount.trim();
    }
    
	public String getLoanPeriod() {
		return loanPeriod;
	}

	public void setLoanPeriod(String loanPeriod) {
		this.loanPeriod = loanPeriod;
	}
	
    public String getTotalNotPaybackAmount() {
		return totalNotPaybackAmount;
	}

	public void setTotalNotPaybackAmount(String totalNotPaybackAmount) {
		this.totalNotPaybackAmount = totalNotPaybackAmount;
	}

	public Date getRowUpdateTime() {
        return rowUpdateTime;
    }

    public void setRowUpdateTime(Date rowUpdateTime) {
        this.rowUpdateTime = rowUpdateTime;
    }

    public Date getRowCreateTime() {
        return rowCreateTime;
    }

    public void setRowCreateTime(Date rowCreateTime) {
        this.rowCreateTime = rowCreateTime;
    }
    
    
	public long getTodayUnsettleInstoreorder() {
		return todayUnsettleInstoreorder;
	}

	public void setTodayUnsettleInstoreorder(long todayUnsettleInstoreorder) {
		this.todayUnsettleInstoreorder = todayUnsettleInstoreorder;
	}

	public long getTodayUnenterinRefundorder() {
		return todayUnenterinRefundorder;
	}

	public void setTodayUnenterinRefundorder(long todayUnenterinRefundorder) {
		this.todayUnenterinRefundorder = todayUnenterinRefundorder;
	}

	public long getTodayUnpaySettleorder() {
		return todayUnpaySettleorder;
	}

	public void setTodayUnpaySettleorder(long todayUnpaySettleorder) {
		this.todayUnpaySettleorder = todayUnpaySettleorder;
	}

	public long getTodayPaySettleorder() {
		return todayPaySettleorder;
	}

	public void setTodayPaySettleorder(long todayPaySettleorder) {
		this.todayPaySettleorder = todayPaySettleorder;
	}

	public long getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(long totalAmount) {
		this.totalAmount = totalAmount;
	}

	@Override
	public String getTableName() {
		return "tb_sl_platform_user";
	}

	public long getAvailableCredit() {
		return availableCredit;
	}

	public void setAvailableCredit(long availableCredit) {
		this.availableCredit = availableCredit;
	}

	public String getTotalApplycreditAmount() {
		return totalApplycreditAmount;
	}

	public void setTotalApplycreditAmount(String totalApplycreditAmount) {
		this.totalApplycreditAmount = totalApplycreditAmount;
	}

	public String getCreditcheckCertificate() {
		return creditcheckCertificate;
	}

	public void setCreditcheckCertificate(String creditcheckCertificate) {
		this.creditcheckCertificate = creditcheckCertificate;
	}

	public Integer getIdOfFinaceaccount() {
		return idOfFinaceaccount;
	}

	public void setIdOfFinaceaccount(Integer idOfFinaceaccount) {
		this.idOfFinaceaccount = idOfFinaceaccount;
	}

	public String getBindAlipay() {
		return bindAlipay;
	}

	public void setBindAlipay(String bindAlipay) {
		this.bindAlipay = bindAlipay;
	}
	
	
	
	public String getTotalNotPaybackRateAndFee() {
		return totalNotPaybackRateAndFee;
	}

	public void setTotalNotPaybackRateAndFee(String totalNotPaybackRateAndFee) {
		this.totalNotPaybackRateAndFee = totalNotPaybackRateAndFee;
	}

	@Override
	public String toString() {
		return BeanMapUtils.getString(this);
	}
}